package cn.kgc.mybatis.mapper;

import cn.kgc.mybatis.entity.Dept;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: mosin
 * @version: v1.0  2022/9/30
 */
public interface DeptMapper {

    List<Dept> getDeptList();

    Dept  getOne(@Param("id") Integer deptno);

    Integer deleteById(@Param("id")Integer deptno);

}
